[INFO] cloning repository https://github.com/Luan1981/substrate-buoi-4
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luan1981/substrate-buoi-4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d5a5a185bfdfa14c3d6ae992828fcaf1d57cc28
[INFO] checking Luan1981/substrate-buoi-4 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Luan1981/substrate-buoi-4 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Luan1981/substrate-buoi-4
[INFO] finished tweaking git repo https://github.com/Luan1981/substrate-buoi-4
[INFO] tweaked toml for git repo https://github.com/Luan1981/substrate-buoi-4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Luan1981/substrate-buoi-4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1e9bd6496cdf6544da1fcd97ff9018b5d3c9dfe585ae53784b59d3570c35c0a7
[INFO] running `Command { std: "docker" "start" "-a" "1e9bd6496cdf6544da1fcd97ff9018b5d3c9dfe585ae53784b59d3570c35c0a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e9bd6496cdf6544da1fcd97ff9018b5d3c9dfe585ae53784b59d3570c35c0a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e9bd6496cdf6544da1fcd97ff9018b5d3c9dfe585ae53784b59d3570c35c0a7", kill_on_drop: false }`
[INFO] [stdout] 1e9bd6496cdf6544da1fcd97ff9018b5d3c9dfe585ae53784b59d3570c35c0a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e98a83c93fb4fd52ba57f753ed8d94c9f71dbc33417b52efa65f19a9a07d2221
[INFO] running `Command { std: "docker" "start" "-a" "e98a83c93fb4fd52ba57f753ed8d94c9f71dbc33417b52efa65f19a9a07d2221", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking wyz v0.5.0
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking bitvec v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking ink_prelude v3.0.0-rc9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]     Checking sha3 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking ink_allocator v3.0.0-rc9
[INFO] [stderr]     Checking secp256k1 v0.21.3
[INFO] [stderr]    Compiling libsecp256k1 v0.7.0
[INFO] [stderr]    Compiling paste v1.0.6
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking array-init v2.0.0
[INFO] [stderr]    Compiling ink_lang_ir v3.0.0-rc9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling ink_storage_derive v3.0.0-rc9
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.0.0
[INFO] [stderr]    Compiling scale-info-derive v2.0.0
[INFO] [stderr]    Compiling parity-scale-codec v3.0.0
[INFO] [stderr]    Compiling ink_lang_codegen v3.0.0-rc9
[INFO] [stderr]    Compiling ink_primitives v3.0.0-rc9
[INFO] [stderr]    Compiling ink_lang_macro v3.0.0-rc9
[INFO] [stderr]     Checking scale-info v2.0.1
[INFO] [stderr]     Checking ink_metadata v3.0.0-rc9
[INFO] [stderr]     Checking ink_env v3.0.0-rc9
[INFO] [stderr]     Checking ink_eth_compatibility v3.0.0-rc9
[INFO] [stderr]     Checking ink_storage v3.0.0-rc9
[INFO] [stderr]     Checking ink_lang v3.0.0-rc9
[INFO] [stderr]     Checking nft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> lib.rs:22:52
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                                    ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |     ------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> lib.rs:22:30
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `ink_primitives::Key` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(/* ink_primitives::Key */),
[INFO] [stdout]     |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> lib.rs:23:61
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                                             ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |     ------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> lib.rs:23:39
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `ink_primitives::Key` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(/* ink_primitives::Key */),
[INFO] [stdout]     |                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> lib.rs:22:52
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                                    ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |     ------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:29:47
[INFO] [stdout]     |
[INFO] [stdout] 29  |             self.id_to_owner.insert(token_id, receiver);
[INFO] [stdout]     |                              ------           ^^^^^^^^ expected `&_`, found `AccountId`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ink_env::AccountId`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 29  |             self.id_to_owner.insert(token_id, &receiver);
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:32:60
[INFO] [stdout]     |
[INFO] [stdout] 32  |                 self.owner_to_token_count.insert(receiver, n + 1);
[INFO] [stdout]     |                                           ------           ^^^^^ expected `&_`, found `u64`
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `u64`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 32  |                 self.owner_to_token_count.insert(receiver, &(n + 1));
[INFO] [stdout]     |                                                            ++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:34:60
[INFO] [stdout]     |
[INFO] [stdout] 34  |                 self.owner_to_token_count.insert(receiver, 1);
[INFO] [stdout]     |                                           ------           ^ expected `&_`, found integer
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 34  |                 self.owner_to_token_count.insert(receiver, &1);
[INFO] [stdout]     |                                                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:57:47
[INFO] [stdout]     |
[INFO] [stdout] 57  |             self.id_to_owner.insert(token_id, to);
[INFO] [stdout]     |                              ------           ^^ expected `&_`, found `AccountId`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ink_env::AccountId`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 57  |             self.id_to_owner.insert(token_id, &to);
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:59:84
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                                                          --------- ^^ expected `u64`, found `&{integer}`
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the return type of this call is `&{integer}` due to the type of the argument passed
[INFO] [stdout]   --> lib.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]    |                                                                                    |
[INFO] [stdout]    |                                                                                    this argument influences the return type of `unwrap_or`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:955:12
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 59 -             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout] 59 +             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                                                      --------- ^^ expected `u64`, found `&{integer}`
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the return type of this call is `&{integer}` due to the type of the argument passed
[INFO] [stdout]   --> lib.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]    |                                                                                |
[INFO] [stdout]    |                                                                                this argument influences the return type of `unwrap_or`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:955:12
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 60 -             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout] 60 +             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:60:34
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |             return *number.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 Some(acc) => return if acc != account {
[INFO] [stdout]    |                                        ---    ^^^^^^^ expected `AccountId`, found `&AccountId`
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        expected because this is `ink_env::AccountId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 Some(acc) => return if acc != *account {
[INFO] [stdout]    |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> lib.rs:22:30
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `ink_primitives::Key` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 22  |                 id_to_owner: ink_storage::Mapping::new(/* ink_primitives::Key */),
[INFO] [stdout]     |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `new` is private
[INFO] [stdout]    --> lib.rs:23:61
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                                             ^^^ private associated function
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |     ------------------------------- private associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]    --> lib.rs:23:39
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(),
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^-- an argument of type `ink_primitives::Key` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn new(offset_key: Key) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 23  |                 owner_to_token_count: ink_storage::Mapping::new(/* ink_primitives::Key */),
[INFO] [stdout]     |                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:29:47
[INFO] [stdout]     |
[INFO] [stdout] 29  |             self.id_to_owner.insert(token_id, receiver);
[INFO] [stdout]     |                              ------           ^^^^^^^^ expected `&_`, found `AccountId`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ink_env::AccountId`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 29  |             self.id_to_owner.insert(token_id, &receiver);
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:32:60
[INFO] [stdout]     |
[INFO] [stdout] 32  |                 self.owner_to_token_count.insert(receiver, n + 1);
[INFO] [stdout]     |                                           ------           ^^^^^ expected `&_`, found `u64`
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `u64`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 32  |                 self.owner_to_token_count.insert(receiver, &(n + 1));
[INFO] [stdout]     |                                                            ++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:34:60
[INFO] [stdout]     |
[INFO] [stdout] 34  |                 self.owner_to_token_count.insert(receiver, 1);
[INFO] [stdout]     |                                           ------           ^ expected `&_`, found integer
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `{integer}`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 34  |                 self.owner_to_token_count.insert(receiver, &1);
[INFO] [stdout]     |                                                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> lib.rs:57:47
[INFO] [stdout]     |
[INFO] [stdout] 57  |             self.id_to_owner.insert(token_id, to);
[INFO] [stdout]     |                              ------           ^^ expected `&_`, found `AccountId`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ink_env::AccountId`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn insert<Q, R>(&mut self, key: Q, value: &R)
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 57  |             self.id_to_owner.insert(token_id, &to);
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:59:84
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                                                          --------- ^^ expected `u64`, found `&{integer}`
[INFO] [stdout]    |                                                                          |
[INFO] [stdout]    |                                                                          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the return type of this call is `&{integer}` due to the type of the argument passed
[INFO] [stdout]   --> lib.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]    |                                                                                    |
[INFO] [stdout]    |                                                                                    this argument influences the return type of `unwrap_or`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:955:12
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 59 -             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout] 59 +             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                                                      --------- ^^ expected `u64`, found `&{integer}`
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the return type of this call is `&{integer}` due to the type of the argument passed
[INFO] [stdout]   --> lib.rs:60:35
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^
[INFO] [stdout]    |                                                                                |
[INFO] [stdout]    |                                                                                this argument influences the return type of `unwrap_or`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/option.rs:955:12
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 60 -             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout] 60 +             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:60:34
[INFO] [stdout]    |
[INFO] [stdout] 60 |             let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0);
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced
[INFO] [stdout]   --> lib.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |             return *number.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lib.rs:42:47
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 Some(acc) => return if acc != account {
[INFO] [stdout]    |                                        ---    ^^^^^^^ expected `AccountId`, found `&AccountId`
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        expected because this is `ink_env::AccountId`
[INFO] [stdout]    |
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 Some(acc) => return if acc != *account {
[INFO] [stdout]    |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0614, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nft` (lib) due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0614, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nft` (lib test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "e98a83c93fb4fd52ba57f753ed8d94c9f71dbc33417b52efa65f19a9a07d2221", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e98a83c93fb4fd52ba57f753ed8d94c9f71dbc33417b52efa65f19a9a07d2221", kill_on_drop: false }`
[INFO] [stdout] e98a83c93fb4fd52ba57f753ed8d94c9f71dbc33417b52efa65f19a9a07d2221
